<?php
registerTable("manager_student", new table_manager_student());

class table_manager_student extends Database
{

    public function __construct()
    {
        parent::__construct("manager_student");
    }
    public function fetch_all_by_classid($classid){
        return $this->fetch_all_assoc("`classid`=$classid");
    }
}
?>